package com.joysuch.wwyt.attendance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.attendance.entity.AttendanceShift;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zqw
 * @since 2022-02-28
 */
public interface AttendanceShiftMapper extends BaseMapper<AttendanceShift> {

    int findByNameAndIdNotEq(String name,Long id, String orgCode, Long tenentId);

    int findByName(String name, String orgCode, Long tenentId);

    List<AttendanceShift> findAll(String orgCode, Long tenentId);
}
